package com.mifan.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 游资每日交易明细表
 * </p>
 *
 * @author Milan
 * @since 2024-09-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ums_hm_detail")
@ApiModel(value="HmDetail对象", description="游资每日交易明细表")
public class HmDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "交易日期")
    private String tradeDate;

    @ApiModelProperty(value = "股票代码")
    private String tsCode;

    @ApiModelProperty(value = "股票名称")
    private String tsName;

    @ApiModelProperty(value = "买入金额")
    private BigDecimal buyAmount;

    @ApiModelProperty(value = "卖出金额")
    private BigDecimal sellAmount;

    @ApiModelProperty(value = "净买入金额")
    private BigDecimal netAmount;

    @ApiModelProperty(value = "游资名称")
    private String hmName;

    @ApiModelProperty(value = "游资机构")
    private String hmOrgs;

    @ApiModelProperty(value = "标签")
    private String tag;


}
